#!/bin/bash

src=$(adapt tool get http://superb-dca2.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2)

cd $src

./bootstrap.sh
adapt ./bjam install -q -j $(adapt query sys/cpunum) \
  --prefix=$(adapt query sys/prefix) \
  --build-dir=$(adapt query sys/scratch) \
  -s BZIP2_LIBPATH='$(adapt query lib/bzip2 lib)' \
  -s BZIP2_INCLUDE='$(adapt query lib/bzip2 include)'
